package com.smartview.jboss.spring.dto;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "WEATHERDTO")
public class WeatherDTO {
	@Id
	@Column(name = "zip")
	private String zip;
	
	@Column(name = "city")
	private String city;
	@Column
	private String state;
	@Column
	private String country;
	@Column
	private String longitude;
	@Column
	private String latitude;
	@Column
	private String temperature;
	
	@Override
	public String toString() {
		return "Weather [city=" + city + ", state=" + state + ", country="
				+ country + ", longitude=" + longitude + ", latitude="
				+ latitude + ", temperature=" + temperature + "]";
	}
	
	
	public String getZip() {
		return zip;
	}


	public void setZip(String zip) {
		this.zip = zip;
	}


	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public String getCountry() {
		return country;
	}
	public void setCountry(String country) {
		this.country = country;
	}
	public String getLongitude() {
		return longitude;
	}
	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}
	public String getLatitude() {
		return latitude;
	}
	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}
	public String getTemperature() {
		return temperature;
	}
	public void setTemperature(String temperature) {
		this.temperature = temperature;
	}
}
